﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using BartonExtension;

namespace SqlServerWrapper
{
    public static class SqlConnectionManager
    {
        public static SqlConnection CreateSqlConnection(string connStr)
        {
            SqlConnection conn = new SqlConnection(connStr);
            return conn;
        }

        public static string GetConnStrFromConfig()
        {
            string connStr = ConfigurationExtensions.ValueOfConfig("connectionStr");
            return connStr;
        }
    }
}
